package com.lmf.annotation;

import com.lmf.annotation.config.MyConfigOfMyBeanFactoryPostProcessor;
import org.junit.Test;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class IOCTest_BeanFactoryPostProcessor {
    @Test
    public void test01() {
        AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(MyConfigOfMyBeanFactoryPostProcessor.class);
        // 关闭容器
        applicationContext.close();
    }

}
